<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\ActivityGroupAdd
 *
 * @property int $id 自增id
 * @property int $user_id 用户id
 * @property int $group_id 拼团id
 * @property string|null $order_num 订单编号
 * @property int $ag_id 活动id
 * @property int $group_num 实际拼团人数
 * @property string|null $start_time 活动开始时间
 * @property string|null $end_time 活动结束时间
 * @property int $status 状态 0：进行中 1：拼团成功 2：拼团失败 3：退出拼团
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityGroupAdd onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereAgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereGroupId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereGroupNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereStartTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityGroupAdd whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityGroupAdd withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityGroupAdd withoutTrashed()
 * @mixin \Eloquent
 */
class ActivityGroupAdd extends Model
{
    protected $table = "activity_group_add";
    use SoftDeletes;
}
